import request from '@/utils/request'

// 查询分数明细列表
export function listScore_details(query) {
  return request({
    url: '/ems/score_details/list',
    method: 'get',
    params: query
  })
}

// 查询分数明细详细
export function getScore_details(id) {
  return request({
    url: '/ems/score_details/' + id,
    method: 'get'
  })
}

// 新增分数明细
export function addScore_details(data) {
  return request({
    url: '/ems/score_details',
    method: 'post',
    data: data
  })
}

// 修改分数明细
export function updateScore_details(data) {
  return request({
    url: '/ems/score_details',
    method: 'put',
    data: data
  })
}

// 删除分数明细
export function delScore_details(id) {
  return request({
    url: '/ems/score_details/' + id,
    method: 'delete'
  })
}
